#ifndef DBEXCEPTION_H
#define DBEXCEPTION_H

#include <string>
#include <cstdio>
#include <exception>

class DBException : public std::exception
{
    private :

    std::string m_message;
    int m_errNb;

    public :

    DBException(std::string message, int errCode);

    ~DBException() throw();

    const char* what() const throw();

};
#endif // DBEXCEPTION_H
